package com.android.plc.classholder;

public class Home extends BasicItem {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3596651403937541255L;
	public String name;
	public int user_code;
	public boolean singlePhase = false;
	public String address;

	public Home(Type type) {
		super(type);
	}

	public Home(String name, int code, boolean singlePhase, String address) {
		super(Type.NORMAL_ITEM);
		this.name = name;
		this.user_code = code;
		this.singlePhase = singlePhase;
		this.address = address;
	}

	@Override
	public String toString()
	{
		return super.toString() == null ? this.name : super.toString();
	}
}
